package com.gobo.jinghuimall.search.feign;

import com.gobo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author guanboStart
 * @date 2021/11/14 20:31
 */
@FeignClient("jinghuimall-product")
public interface ProductFeign {
    @GetMapping("/product/attr/info/{attrId}")
    public R attrInfo(@PathVariable("attrId") Long attrId);
}
